﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ZFMaster.Master" AutoEventWireup="true"
    CodeBehind="list.aspx.cs" Inherits="ZF.WS.expert.list" %>

<%@ Register src="../UserControls/expsearch.ascx" tagname="expsearch" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="location mb10_">
        您现在的位置：<a href="/"><%=SiteInfo.Instance.SystemConfig.SiteName %></a> >> <a href="<%=this.Request.Url %>">
            专家信息</a>
    </div>
    <table class="w100_ table000_">
        <tr>
            <td style="width: 200px" valign="top" style="">
                <uc1:expsearch ID="expsearch1" runat="server" />
                 
            
                <style>
                    .artlist dd { text-align: left; background: url(/image/bp.gif) no-repeat 5px 11px; line-height: 26px; }
                    .artlist dd a { width: 110px; padding-left: 10px; }
                </style>
                <div class="board  mt10_  artlist  ">
                    <dl>
                        <dt><span>相关文章</span></dt>
                        <zf:ListView runat="server" ID="lvArticle">
                            <LayoutTemplate>
                                <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                                </zf:PlaceHolder>
                            </LayoutTemplate>
                            <ItemTemplate>
                                <dd>
                                    <a href="article.aspx?id=<%#Eval("MemberId")%>&aid=<%#Eval("ArticleId")%>">
                                        <%#((string) Eval("Title")).MaxLength(14) %></a></dd>
                            </ItemTemplate>
                        </zf:ListView>
                    </dl>
                </div>
            </td>
            <td style="width: 10px">
                &nbsp;&nbsp;
            </td>
            <td valign="top" style="width: 716px">
                <style>
                    .zfollist { width: 716px; float: left; }
                    .zfollist ul { margin: ;;;0px5px;}
                    .zfollist dd .l1 { width: 110px; }
                    .zfollist dd .l1 img { width: 100px; height: 80px; margin: 3px; border: 1px solid #eee; }
                    .zfollist dd .l2 { width: 246px; text-align: left; padding-top: 0px; }
                    .zfollist dd .l2 p { line-height: 18px; }
                    .zfollist dd li { margin-top: 5px; padding-bottom: 5px; }
                </style>
                <div class="board zfollist">
                    <dl>
                        <dt>
                            <p>
                                在线专家</p>
                            <zf:ListView runat="server" ID="lvTitle">
                                <LayoutTemplate>
                                    <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                                    </zf:PlaceHolder>
                                </LayoutTemplate>
                                <ItemTemplate>
                               
                                    <a href="list.aspx?type=<%#Eval("Key") %>" class="<%# ((int)Eval("Key"))==this.TypeId?"active":"dn_" %> ">
                                        <%#Eval("Text") %></a>
                                </ItemTemplate>
                            </zf:ListView>
                        </dt>
                        <dd class="slide   active">
                            <zf:ListView ID="lvList" runat="server">
                                <LayoutTemplate>
                                    <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                                    </zf:PlaceHolder>
                                </LayoutTemplate>
                                <ItemTemplate>
                                    <%# Container.DataItemIndex%2==0?" <ul>":"" %>
                                    <li class="l1"><a href="/expert/info.aspx?id=<%#Eval("Member.MemberId")%>">
                                        <img src="/photo/member/<%#((string)Eval("Member.Icon")).EmptyString("noimage.gif")%>" /></a></li>
                                    <li class="l2">
                                    
                                    
 
                                    
                                    
                                    
                                    
                                    
                                    
                                        <p>
                                            <span>姓名：</span>
                                            <%#((string)Eval("Member.Contact")).EmptyString(Eval("Member.Account").ToString()) %></p>
                                        <p>
                                            <span>区域：</span>
                                             <%#Eval("Member.Area")%></p>
                                        <p>
                                            <span>公司：</span>
                                            <%#((string)Eval("Member.Company")).MaxLength(14)%></p>
                                        <p>
                                            <span>积分：</span>
                                            <%#Eval("Member.Integral")%></p>
                                            
                                             <p class="tac_">
                                                    <a href="/expert/tolc.aspx?id=<%#Eval("Member.MemberId")%>" target="tolc<%#Eval("Member.MemberId")%>">
                                                        <span style="<%#OnLine.CheckOnLine((int)Eval("Member.MemberId"))?"color:#f00": ""%>">
                                                            在线咨询</span></a> | <a href="/expert/info.aspx?id=<%#Eval("Member.MemberId")%>">个人简介
                                                    </a>|
                                                    
                                                     <a href="/expert/info.aspx?id=<%#Eval("Member.MemberId")%>#art">
                                                       <%#_GetType((int) Eval("Member.ExpertType"))%>
                                                    </a>
                                                     
                                                    
                                                    
                                                    | <a href="/expert/info.aspx?id=<%#Eval("Member.MemberId")%>#eMsg">留言</a></p>
                                            
                                       
                                    </li>
                                    <%# Container.DataItemIndex % 2 == 1 ? "</ul>" : ""%>
                                </ItemTemplate>
                            </zf:ListView>
                            <%=lvList.Items.Count % 2 == 1 ? "</ul>" : ""%>
                        </dd>
                        <dd class="page fc_">
                            <table>
                                <tr>
                                    <td>
                                        <a href="<%=_param %>&pi=0">首 页</a> <a href="<%=_param %>&pi=<%=this.Pi > 0 ? Pi - 1 : 0 %>">
                                            上一页</a> <a href="<%=_param %>&pi=<%=this.Pi+1 %>">下一页</a> <a href="<%=_param %>&pi=999999">
                                                未 页</a> &nbsp;
                                        <%--
                            <a href="/expert/list.aspx?type=<%=this.TypeId %>&pi=0">首 页</a> 
                            <a href="/expert/list.aspx?type=<%=this.TypeId %>&pi=<%=this.Pi > 0 ? Pi - 1 : 0 %>">
                                上一页</a> 
                                <a href="/expert/list.aspx?type=<%=this.TypeId %>&pi=<%=this.Pi+1 %>">下一页</a>
                            <a href="/expert/list.aspx?type=<%=this.TypeId %>&pi=999999">未 页</a> &nbsp;--%>
                                    </td>
                                </tr>
                            </table>
                        </dd>
                    </dl>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
